var app = getApp();

Page({
  data: {
    itemList:[
      {imgUrl:'../../imgs/subsample/subsample01.png',
      title:'故事接龙',
      hrefUrl:'/pages/dragonstory/dragonstory'},
      {imgUrl:'../../imgs/subsample/subsample02.png',
      title:'出题写作',
      hrefUrl:'/pages/writearticles/writearticles'},
      {imgUrl:'../../imgs/subsample/subsample03.png',
      title:'邀请修改',
      hrefUrl:'/pages/amendments/amendments'}
    ]
  },
  go (event) {
    let urls = event.currentTarget.dataset.url;
    wx.navigateTo({
      url: urls
    })
  },
  onLoad (options) {
    let that = this
    // 页面初始化 options为页面跳转所带来的参数
  },
  onReady () {
    // 页面渲染完成
  },
  onShow () {
    // 页面显示
  },
  onHide () {
    // 页面隐藏

  },
  onUnload () {
    // 页面关闭

  }
})
